home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE="VBSCRIPT" %>
-
- <%
- Set proc = Server.CreateObject("ActiveExec.Process")
-
- CommandLine = "C:\WINNT\System32\PING.EXE www.activitysoft.com"
-
- proc.Execute CommandLine
-
- Response.Write "Program " & CommandLine & " executed with return code " & proc.ReturnCode & "<BR>"
- Response.Write "Output is:"
- Response.Write "<BLOCKQUOTE><PRE>"
- Response.Write proc.OutputStream
- Response.Write "</PRE></BLOCKQUOTE>"
- %>
-